import request from '@/utils/request'
var group_name = 'login'
export default {
  getLogin(username,password) { // 登录
    return request({
      url: `/${group_name}/userLogin?username=`+username+`&password=`+password,
      method: 'post'
    })
  },
  getLoginOut(){
    return request({
      url:`/${group_name}/userLogout`,
      method:'get'
    })
  }
}